<?xml version="1.0" encoding="UTF-8" ?>
<%@ taglib prefix="s" uri="/struts-tags" %>
<status>
	<statusId id="statusId"><s:property value="statusId" /></statusId>
	<content id="content">
		<s:iterator value="translations" status="current">
                		<div id="tran<s:property value="id"/>" class="<s:if test="%{language=='en'}">english</s:if><s:else>中文</s:else> tranbox <s:if test="#current.First">best</s:if><s:else>ohide</s:else>">
                			<div class="arrows"><img class="arrowimg" src="/basic/img/status/tranup.png" width="12" height="12" /><br /><img src="/basic/img/status/trandown.png" class="arrowimg" width="12" height="12" /></div>
                			<s:if test="%{language=='en'}"><span class="english lan">english</span></s:if>
                			<s:else><span class="中文 lan">中文</span></s:else>
                			<s:property value="content" />
                			<div class="trinfo">by <span class="trauthor"><s:property value="publisher.name" /></span>, <s:property value="%{updowns.size()}"/> UPs</div>
                		</div>
         </s:iterator>
         <div class="english tranbox ohide">
                    	<div class="trans_items">
                        	<select class="trans_lan" name="language">
                            	<option value="en" <s:if test="%{user.locale.language=='en'}">selected="selected"</s:if>>english</option>
                            	<option value="zh" <s:if test="%{user.locale.language=='zn'}">selected="selected"</s:if>>中文</option>
                            </select>
                        	<a href="javascript:void();" status="<s:property value="statusId" />" class="transAdd"><img  src="/basic/img/status/transadd.png" width="80" height="20" /></a>
                    	</div>
                        <textarea class="trans_area" name="translationText" placeholder="Add my translation or editting" ></textarea>
         </div>
	</content>
</status>